LearningStoreConstraintViolationException Class

Exception thrown when a constraint is violated during an operation. For example, attempting to add an item that references an item that doesn't exist.

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public class LearningStoreConstraintViolationException : Exception

Constructors
Name Description
Ð LearningStoreConstraintViolationException ()

Initializes a new instance of the LearningStoreConstraintViolationException class.

Ï LearningStoreConstraintViolationException (SerializationInfo, StreamingContext)

Initializes a new instance of the LearningStoreItemNotFoundException class.

Ð LearningStoreConstraintViolationException (string)

Initializes a new instance of the LearningStoreConstraintViolationException class.

Ð LearningStoreConstraintViolationException (string, Exception)

Initializes a new instance of the LearningStoreConstraintViolationException class.